[ { "id": "864171cc.c022b8", "type": "tab", "label": "ADAM UDP", "disabled": false, "info": "" }, { "id": "bbe33e33.dc1508", "type": "debug", "z": "864171cc.c022b8", "name": "", "active": true, "tosidebar": true, "console": false, "tostatus": false, "complete": "false", "x": 170, "y": 300, "wires": [] }, { "id": "7e64cfac.9e8fd8", "type": "udp in", "z": "864171cc.c022b8", "name": "", "iface": "", "port": "5168", "ipv": "udp4", "multicast": "false", "group": "", "datatype": "buffer", "x": 80, "y": 260, "wires": [ [ "bbe33e33.dc1508", "508e5ac3.474534", "597966eb.7f4e2", "62bad0c.963b6b", "d7c6661d.db3c1", "e1eb5e88.5d9178" ] ] }, { "id": "31376131.edfb66", "type": "debug", "z": "864171cc.c022b8", "name": "", "active": true, "tosidebar": true, "console": false, "tostatus": false, "complete": "payload", "targetType": "msg", "x": 350, "y": 260, "wires": [] }, { "id": "508e5ac3.474534", "type": "function", "z": "864171cc.c022b8", "name": "Extrait AI7", "func": "var valAI0low={payload:msg.payload[36]};\nvar valAI0high={payload:msg.payload[37]};\nvar result ={payload:256*msg.payload[36]+msg.payload[37]};\nreturn result;", "outputs": 1, "noerr": 0, "x": 360, "y": 220, "wires": [ [ "31376131.edfb66", "40e19e8d.2a21e8" ] ] }, { "id": "e929247f.ca37f8", "type": "ui_gauge", "z": "864171cc.c022b8", "name": "", "group": "1f8fddae.f90832", "order": 0, "width": 0, "height": 0, "gtype": "gage", "title": "AI7", "label": "", "format": "{{value|number:0}}%", "min": 0, "max": "100", "colors": [ "#00b500", "#e6e600", "#ca3838" ], "x": 730, "y": 220, "wires": [] }, { "id": "597966eb.7f4e2", "type": "function", "z": "864171cc.c022b8", "name": "Extrait nombre ok", "func": "var valAI={payload:msg.payload[22]};\nreturn valAI;", "outputs": 1, "noerr": 0, "x": 330, "y": 160, "wires": [ [ "9cef3f8b.c53e18" ] ] }, { "id": "9cef3f8b.c53e18", "type": "debug", "z": "864171cc.c022b8", "name": "", "active": true, "tosidebar": true, "console": false, "tostatus": false, "complete": "false", "x": 510, "y": 160, "wires": [] }, { "id": "40e19e8d.2a21e8", "type": "function", "z": "864171cc.c022b8", "name": "mise a echelle AI7", "func": "msg.payload=(msg.payload-32767)/327.67;\nreturn msg;", "outputs": 1, "noerr": 0, "x": 550, "y": 220, "wires": [ [ "e929247f.ca37f8" ] ] }, { "id": "b24befd6.067778", "type": "debug", "z": "864171cc.c022b8", "name": "", "active": true, "tosidebar": true, "console": false, "tostatus": false, "complete": "payload", "targetType": "msg", "x": 310, "y": 400, "wires": [] }, { "id": "62bad0c.963b6b", "type": "function", "z": "864171cc.c022b8", "name": "Extrait AI6", "func": "var valAI0low={payload:msg.payload[34]};\nvar valAI0high={payload:msg.payload[35]};\nvar result ={payload:256*msg.payload[34]+msg.payload[35]};\nreturn result;", "outputs": 1, "noerr": 0, "x": 320, "y": 360, "wires": [ [ "b24befd6.067778", "eb526872.0265f" ] ] }, { "id": "77e1d5a4.e023f4", "type": "ui_gauge", "z": "864171cc.c022b8", "name": "", "group": "1f8fddae.f90832", "order": 0, "width": 0, "height": 0, "gtype": "gage", "title": "AI6", "label": "", "format": "{{value|number:0}}%", "min": 0, "max": "100", "colors": [ "#00b500", "#e6e600", "#ca3838" ], "x": 730, "y": 360, "wires": [] }, { "id": "eb526872.0265f", "type": "function", "z": "864171cc.c022b8", "name": "mise a echelle AI6", "func": "msg.payload=(msg.payload-32767)/327.67;\nreturn msg;", "outputs": 1, "noerr": 0, "x": 510, "y": 360, "wires": [ [ "77e1d5a4.e023f4" ] ] }, { "id": "7bea40ad.9479c", "type": "debug", "z": "864171cc.c022b8", "name": "", "active": true, "tosidebar": true, "console": false, "tostatus": false, "complete": "payload", "targetType": "msg", "x": 310, "y": 500, "wires": [] }, { "id": "d7c6661d.db3c1", "type": "function", "z": "864171cc.c022b8", "name": "Extrait AI5", "func": "var valAI0low={payload:msg.payload[32]};\nvar valAI0high={payload:msg.payload[33]};\nvar result ={payload:256*msg.payload[32]+msg.payload[33]};\nreturn result;", "outputs": 1, "noerr": 0, "x": 320, "y": 460, "wires": [ [ "7bea40ad.9479c", "c9f8a599.328648" ] ] }, { "id": "91ed1f26.814ee8", "type": "ui_gauge", "z": "864171cc.c022b8", "name": "", "group": "1f8fddae.f90832", "order": 0, "width": 0, "height": 0, "gtype": "gage", "title": "AI5 : luminosité", "label": "", "format": "{{value|number:0}}lm", "min": 0, "max": "32000", "colors": [ "#00b500", "#e6e600", "#ca3838" ], "x": 760, "y": 460, "wires": [] }, { "id": "c9f8a599.328648", "type": "function", "z": "864171cc.c022b8", "name": "mise a echelle AI5", "func": "msg.payload=(msg.payload-32767);\nreturn msg;", "outputs": 1, "noerr": 0, "x": 510, "y": 460, "wires": [ [ "91ed1f26.814ee8" ] ] }, { "id": "dcf9c317.89a58", "type": "debug", "z": "864171cc.c022b8", "name": "", "active": true, "tosidebar": true, "console": false, "tostatus": false, "complete": "payload", "targetType": "msg", "x": 310, "y": 600, "wires": [] }, { "id": "e1eb5e88.5d9178", "type": "function", "z": "864171cc.c022b8", "name": "Extrait AI4", "func": "var valAI0low={payload:msg.payload[30]};\nvar valAI0high={payload:msg.payload[31]};\nvar result ={payload:256*msg.payload[30]+msg.payload[31]};\nreturn result;", "outputs": 1, "noerr": 0, "x": 320, "y": 560, "wires": [ [ "dcf9c317.89a58", "53a321b6.f7ce68" ] ] }, { "id": "73081dfb.6df0f4", "type": "ui_gauge", "z": "864171cc.c022b8", "name": "", "group": "1f8fddae.f90832", "order": 0, "width": 0, "height": 0, "gtype": "gage", "title": "AI4 : température", "label": "", "format": "{{value|number:0}}°C", "min": 0, "max": "100", "colors": [ "#00b500", "#e6e600", "#ca3838" ], "x": 690, "y": 560, "wires": [] }, { "id": "53a321b6.f7ce68", "type": "function", "z": "864171cc.c022b8", "name": "mise a echelle AI4", "func": "msg.payload=(msg.payload-32767)/32;\nreturn msg;", "outputs": 1, "noerr": 0, "x": 510, "y": 560, "wires": [ [ "73081dfb.6df0f4" ] ] }, { "id": "1f8fddae.f90832", "type": "ui_group", "z": "", "name": "ADAM6017 PISCINE UDP", "tab": "a606236d.1a74e8", "order": 1, "disp": false, "width": "3" }, { "id": "a606236d.1a74e8", "type": "ui_tab", "z": "864171cc.c022b8", "name": "ADAM PISCINE UDP", "icon": "dashboard" } ]